package com.grandtech.insurance.dao;

import com.grandtech.insurance.domain.DbJtcyxx;
import com.grandtech.insurance.domain.DbKhxx;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DbJtcyxxDAO {
    int deleteByPrimaryKey(String id);

    int insert(DbJtcyxx record);

    int insertSelective(DbJtcyxx record);

    DbJtcyxx selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(DbJtcyxx record);

    int updateByPrimaryKey(DbJtcyxx record);

    //根据客户身份证号和项目编码查询客户家庭信息
    List<DbJtcyxx> getDbJtcyxxByIdcodeAndXmbm(DbKhxx param);
    //根据客户身份证号和项目编码删除客户家庭信息
    int deleteDbJtcyxxByIdcodeAndXmbm(DbKhxx param);

    List<DbJtcyxx> getDbJtcyxx(DbKhxx param);

    DbJtcyxx  getDbJtcyxxByIdcodeAndXmbmAndGxdm(DbKhxx param);

    DbJtcyxx getDbJtcyxxByGxdm(DbKhxx param);

    List<DbJtcyxx> getDbJtcyxxByIdcodeAndXmbm1(DbKhxx param);
}











